#!/usr/bin/python
#
# Test.py 
# VHP-2, slawek@rozbicki.eu

from Preparser import Parser
from sys import argv

def usage():
	print "USAGE:"
	print "%s [file.pcap]" % argv[0]

if len(argv) != 2:
	usage()
	exit(-1)

Pr = Parser(argv[1])
Pr.Process()

print Pr.Pool
print Pr.Pool.app_table
#for i in range(len(Pr.Pool.app_table)):
#	Pr.Pool.app_table[i].ShowTable()
